@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}

body {
  background: #f2f2f2;
}

.headers {
  height: 4.75rem !important;
}

.header {
  height: 2.25rem;
  overflow: hidden;
  transition: all .3s;
}

.header .top {
  height: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid #d8d8d8;
}

.header .top p:nth-of-type(1) {
  width: 2rem;
  height: 2.2rem;
  background: url("../img/back-5.png") no-repeat center;
  background-size: auto .75rem;
}

.header .top p:nth-of-type(2) {
  font-size: .85rem;
  color: #333;
}

.header .top p:nth-of-type(3) {
  width: 2rem;
  height: 2.2rem;
  background: url("../img/menu-5.png") no-repeat center;
  background-size: 1.1rem;
  transition: all .3s;
}

.header .top .on {
  background: url("../img/cha-5.png") no-repeat 50% !important;
  background-size: 35% 35% !important;
}

.header ul {
  height: 2.5rem;
  display: flex;
  justify-content: space-between;
  list-style: none;
  font-size: .6rem;
  align-items: center;
  text-align: center;
  color: #4d525d;
  padding: .25rem 0;
  background: #eee;
  border-bottom: 1px solid #d8d8d8;
  box-sizing: border-box;
}

.header ul li {
  width: 3.75rem;
}

.header ul li a {
  text-decoration: none;
  color: #4d525d;
}

.header ul .icon-shouye {
  font-size: 1.2rem !important;
  font-weight: 400;
}

.header ul .icon-fenlei {
  font-size: 1.2rem !important;
  font-weight: 600;
}

.header ul .icon-dai {
  font-size: 1.2rem !important;
}

.header ul .icon-che {
  font-size: 1.2rem !important;
}

.header ul .icon-wode {
  font-size: 1.2rem !important;
}

.bg {
  padding-bottom: 3.75rem;
}

.bg .bg-pic {
  display: block;
  width: 9rem;
  margin: 2rem auto 1rem;
}

.bg .main p {
  font-size: .7rem;
  color: #777777;
  text-align: center;
  height: 1.75rem;
  line-height: 1.75rem;
}

.bg .main div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg .main div p {
  font-size: .85rem;
  width: 6.25rem;
  height: 2rem;
  line-height: 2rem;
  margin: 0 .5rem;
  border: .05rem solid #777777;
  border-radius: .3rem;
}

.bg .bg-top {
  display: flex;
  align-items: center;
  padding: 0 .5rem;
  height: 2rem;
  background: #fff;
}

.bg .bg-top .all1 {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: .5rem;
  appearance: none;
  /* 标准属性 */
  -moz-appearance: none;
  /* Firefox 兼容 */
  -ms-appearance: none;
  /* IE 兼容 */
  -o-appearance: none;
  /* Opera 兼容 */
  -webkit-appearance: none;
  /* WebKit 兼容 */
  border: 1px solid #C0C4CC;
  border-radius: 50%;
  outline: none;
}

.bg .bg-top .all1:checked {
  background: url("http://cart.m.dangdang.com/images/c_checkbox_on.png") no-repeat;
  background-size: 100%;
}

.bg .bg-top img {
  width: 1rem;
  height: 1rem;
  margin-right: .5rem;
}

.bg .bg-top p {
  font-size: .8rem;
  color: #787878;
}

.bg .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem;
  border: .05rem solid #fafafa;
  background-color: #fff;
}

.bg .box .option {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: .5rem;
  appearance: none;
  /* 标准属性 */
  -moz-appearance: none;
  /* Firefox 兼容 */
  -ms-appearance: none;
  /* IE 兼容 */
  -o-appearance: none;
  /* Opera 兼容 */
  -webkit-appearance: none;
  /* WebKit 兼容 */
  border: 1px solid #C0C4CC;
  border-radius: 50%;
  outline: none;
}

.bg .box .option:checked {
  background: url("http://cart.m.dangdang.com/images/c_checkbox_on.png") no-repeat;
  background-size: 100%;
}

.bg .box img {
  width: 5.25rem;
  height: 6.25rem;
}

.bg .box .intro {
  width: 10rem;
}

.bg .box .intro .name {
  font-size: .7rem;
  color: #323232;
  height: 2rem;
  line-height: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  /*行数*/
}

.bg .box .intro .tar {
  font-size: .75rem;
  color: #ff2832;
}

.bg .box .intro .number button {
  width: 2.2rem;
  height: 2.1rem;
  background-color: #fff;
  color: #787878;
  border: 1px solid #d5d5d5;
  text-align: center;
}

.bg .box .intro .number input {
  width: 4.25rem;
  height: 2.1rem;
  border: 1px solid #d5d5d5;
  text-align: center;
}

.bg .box .intro .number p {
  width: 2.25rem;
  text-align: center;
  font-size: .7rem;
  color: #fff;
  background-color: #ff4650;
  margin-left: auto;
  margin-top: .25rem;
}

.end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 2.75rem;
  background: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .5rem;
}

.end .end-left {
  font-size: .8rem;
  color: #787878;
  display: flex;
  align-items: center;
}

.end .end-left .all2 {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: .5rem;
  appearance: none;
  /* 标准属性 */
  -moz-appearance: none;
  /* Firefox 兼容 */
  -ms-appearance: none;
  /* IE 兼容 */
  -o-appearance: none;
  /* Opera 兼容 */
  -webkit-appearance: none;
  /* WebKit 兼容 */
  border: 1px solid #C0C4CC;
  border-radius: 50%;
  outline: none;
}

.end .end-left .all2:checked {
  background: url("http://cart.m.dangdang.com/images/c_checkbox_on.png") no-repeat;
  background-size: 100%;
}

.end .end-right {
  display: flex;
  align-items: center;
}

.end .end-right p {
  font-size: .8rem;
  color: #464646;
}

.end .end-right p span {
  color: #ff2832;
}

.end .end-right p:nth-of-type(2) {
  margin-left: .5rem;
  width: 5rem;
  height: 2rem;
  line-height: 2rem;
  color: #fff;
  background-color: #ff4650;
  text-align: center;
}
